package decorator;

public class BatterCakeDecorator extends BatterCake {
    private BatterCake batterCake;

    public BatterCakeDecorator(BatterCake batterCake) {
        this.batterCake=batterCake;
    }

    @Override
    protected String getMessage() {
        return this.batterCake.getMessage();
    }

    @Override
    protected int getPrice() {
        return this.batterCake.getPrice();
    }
}
